﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Patient/PatientMaster.Master" AutoEventWireup="true" CodeBehind="OpenQuestionnaire.aspx.cs" Inherits="MyHealthOnline.Patient.OpenQuestionnaire" %>
<%@ Register Src="~/Patient/QuestionList.ascx" TagName="QuestionList" TagPrefix="uc" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    Open Questionnaire
    <br />
    <asp:UpdatePanel ID="updQuestions" runat="server">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btnBack" EventName="Click" />
            <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
        </Triggers>
        <ContentTemplate>
            <uc:QuestionList ID="ucQuestionnaire" runat="Server"></uc:QuestionList>

            <asp:Panel runat="server" ID="pnlActions" DefaultButton="btnSave">
                <asp:Button ID="btnBack" Text="Back" runat="server" onclick="btnBack_Click" />
                <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" />
                <br />
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
    
</asp:Content>
